﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Sinbiota.Web.Models.TaxonDetailsModel>" %>
<%@ Import Namespace="Localization" %>
<html>
    <div class="panel" style="padding-bottom:20px; ">
    <big><i><%:Model.Taxon.ScientificName() %></i></big><br /><br />
    <b>Rank: </b><%:Model.Taxon.Rank %><br /><br />
    <b>Lineage:</b>
    <% foreach (var ancestor in Model.Ancestors)
       { %>
        <%: Html.ActionLink(ancestor.Name, "Details", new { ancestor.Id }, new { title = ancestor.Rank, Class= "taxon_link", target="_blank" })%> ;
    <% }%>
    <%: Html.ActionLink(Model.Taxon.Name, "Details", new { Model.Taxon.Id }, new { title = Model.Taxon.Rank, Class = "taxon_link", target = "_blank" })%>
    </div>
</html>